<style lang="less">
	.editor-detail{
		width: 100%;
		height: 100%;
		iframe{
			width: 100%;
			height: 100%;
		}
	}
</style>
<template>
	<div class="editor-detail">
		<header class="header">
      <a @click="prevPage"><i class="fa fa-arrow-left"></i></a>
      <span>主编资料</span>
    </header>
    <iframe :src="'http://news-at.zhihu.com/api/4/editor/'+this.$route.params.id+'/profile-page/android'"></iframe>
	</div>
</template>
<script type="text/javascript">
	import {mapState} from 'vuex'
	export default {
		methods:{
			prevPage() {
				this.$router.go(-1)
        this.$store.commit('CHANGE_TRANSITION')
			}
		},
		created() {
      this.setDocumentTitle('主编资料')
		}
	}
</script>
